package com.alks.function.service.chengKong;

import com.alks.entity.data.entity.YfStyleColorDetail;
import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.request.chengKong.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface GeneralMaterialsService {

    ResponseInfo getGeneralMaterialsList();

    ResponseInfo getGeneralMaterialsAdd(CacheAddRequest request);

    ResponseInfo getMaterialQueryList(MaterialQueryRequest2 request);

    ResponseInfo getMaterialUpdate(YfMaterialUpdateRequest request);

    ResponseInfo getMaterialDel(String mtlNo);

    ResponseInfo getPublicMaterials(CommonQueryRequest request);

    ResponseInfo getPublicMaterials2(CommonQueryRequest request);

    ResponseInfo getPublicMaterialsUpdate(CommonUpdateRequest request);

    ResponseInfo getStyleAdd(Map<String, String> map);

    ResponseInfo getStyleBasicAdd(StyleAddRequest request);

    ResponseInfo getStyleNumber(Map<String, String> map);

    ResponseInfo getStyleNumberAdd(StyleNumberAddRequest request);

    ResponseInfo getStyleBasicList(StyleBasicRequest request);

    ResponseInfo getStyleType(String styleNo);

    ResponseInfo getStyleSizeList(Map<String, String> map);

    ResponseInfo getStylePhotoList(Map<String, String> map);

    ResponseInfo getStyleBasicCopyAdd(StyleAddRequest request);

    ResponseInfo getStyleBasicAllDel(Map<String, String> map);

    ResponseInfo getChangeOfOrderMaker(Map<String, String> map);

    ResponseInfo getInspect(List<String> styleNoList, Integer choose);

    ResponseInfo updateStylePhoto(MultipartFile file, String photoPath);

    ResponseInfo getStylePhotoAdd(YfStyleColorDetail styleColorDetail);

    ResponseInfo getStylePhotoDel(YfStyleColorDetail styleColorDetail);

    ResponseInfo getStylePhotoUpdate(String styleNo, String styleColor, YfStyleColorDetail styleColorDetail);
}
